package com.example.user.payload;

import lombok.Data;
import org.hibernate.validator.constraints.Email;
import org.hibernate.validator.constraints.NotEmpty;

/**
 * Created by atom on 2017/11/20
 */
@Data
public class EmailRegistrationPayload {
    @Email
    private String email;
    @NotEmpty
    private String password;
}
